<template>
  <div class="Movie">
    <h2>Movie</h2>
    <h3>Count组件中的num值是{{ num }}</h3>
    <h3>Count组件中的doubleNum值是{{ addNum }}</h3>
  </div>
</template>

<script>
import { mapState, mapGetters } from "vuex";
export default {
    name:"Movie",
    computed: {
    ...mapState(["num"]),
    ...mapGetters(["addNum"]),
  },
}
</script>

<style>
.Movie{
    background-color: Violet;
}
</style>